package com.example.j2eetest.domain;


import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (TbProduct)表实体类
 *
 * @author makejava
 * @since
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table("tb_product")
public class Product {
    @Id(keyType = KeyType.Auto)
    private Integer id;
    private String name;
    
    private Double price;
    
    private String type;
    
    private Integer stock;

}

